import request from "@/utils/request"

export const getLogisticsCompanyPageApi = (page,pageSize,companyName) => request.get(`/logisticsCompany?page=${page}&pageSize=${pageSize}&companyName=${companyName}`)

export const addLogisticsCompanyApi = (data) => request.post('/logisticsCompany',data)

export const deleteLogisticsCompanyApi = (id) => request.delete(`/logisticsCompany/${id}`)

export const updateLogisticsCompanyApi = (data) => request.put('/logisticsCompany',data)

export const getLogisticsCompanyListApi = () => request.get('/logisticsCompany/list')